import {defineStore} from "pinia";

//第一个参数是唯一storeId
const useTabbarStore = defineStore("tabbar",{
    // state:()=>{
    //     return {
    //         isTabbarShow:true
    //     }
    // }
    state:()=>({
        isTabbarShow:true
    }),
    actions:{
        change(value){
            this.isTabbarShow = value
        }
    }
})

export default useTabbarStore